package consts

import (
	"hotgo/internal/library/dict"
	"hotgo/internal/model"
	"time"
)

func init() {
	dict.RegisterEnums("weekday", "星期", WeekdayOptions)
}

const (
	Sunday time.Weekday = iota
	Monday
	Tuesday
	Wednesday
	Thursday
	Friday
	Saturday
)

// WeekdayOptions 星期选项
var WeekdayOptions = []*model.Option{
	dict.GenInfoOption(Sunday, "星期日"),
	dict.GenInfoOption(Monday, "星期一"),
	dict.GenInfoOption(Tuesday, "星期二"),
	dict.GenInfoOption(Wednesday, "星期三"),
	dict.GenInfoOption(Thursday, "星期四"),
	dict.GenInfoOption(Friday, "星期五"),
	dict.GenInfoOption(Saturday, "星期六"),
}
